package com.greysh.news.model;

import java.util.Date;

public class News {

	// Fields

	private Integer newsPid;
	private String newsTitle;
	private String newsContent;
	private Date newsDate;

	// Constructors

	/** default constructor */
	public News() {
	}

	public Integer getNewsPid() {
		return newsPid;
	}

	public void setNewsPid(Integer newsPid) {
		this.newsPid = newsPid;
	}

	public String getNewsTitle() {
		return newsTitle;
	}

	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}

	public String getNewsContent() {
		return newsContent;
	}

	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}

	public Date getNewsDate() {
		return newsDate;
	}

	public void setNewsDate(Date newsDate) {
		this.newsDate = newsDate;
	}
	

}
